<%@page contentType="text/xml" %>
<%@page pageEncoding="ISO-8859-1" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<div class="racine">

    <jsp:include page="_edt.jsp" />

    <div class="messagesCaches" style="display: none;">

        <c:if test="${not empty PlanningForm.messages}">

            <div class="messages ${PlanningForm.classCSSTypeMessage}">
                
                <h3>${PlanningForm.titreMessages}</h3>
                <ul>
                    <c:forEach var="message" items="${PlanningForm.messages}">
                        <li>${message}</li>
                    </c:forEach>
                </ul>
            </div>

        </c:if>
        
    </div>

    <bean:define id="resultat" name="PlanningForm" property="typeMessage" />
    <c:choose>
        <c:when test="${resultat == null || resultat == ''}">
            <span id="resultat" style="display: none;">aucun</span>
        </c:when>
        <c:when test="${resultat == 'SUCCES' || resultat == 'INFO' || resultat == 'AVERTISSEMENT'}">
            <span id="resultat" style="display: none;">succes</span>
        </c:when>
        <c:otherwise>
            <span id="resultat" style="display: none;">erreur</span>
        </c:otherwise>
    </c:choose>

</div>